package com.proj.bean;

import java.math.BigDecimal;

public class Orderinfo {
    private int orderid;
    private int goodsid;
    private int number;
    private BigDecimal price;
    private String goodsname;
    private String imgurl;

    @Override
    public String toString() {
        return "Orderinfo{" +
                "orderid=" + orderid +
                ", goodsid=" + goodsid +
                ", number=" + number +
                ", price=" + price +
                ", goodsname='" + goodsname + '\'' +
                ", imgurl='" + imgurl + '\'' +
                '}';
    }

    public Orderinfo(int orderid, int goodsid, int number, BigDecimal price, String goodsname, String imgurl) {
        this.orderid = orderid;
        this.goodsid = goodsid;
        this.number = number;
        this.price = price;
        this.goodsname = goodsname;
        this.imgurl = imgurl;
    }
    public Orderinfo() {
    }

    public int getOrderid() {
        return orderid;
    }

    public void setOrderid(int orderid) {
        this.orderid = orderid;
    }

    public int getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(int goodsid) {
        this.goodsid = goodsid;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname;
    }

    public String getImgurl() {
        return imgurl;
    }

    public void setImgurl(String imgurl) {
        this.imgurl = imgurl;
    }
}
